package cn.derry.domain;

import java.io.Serializable;

/**
 * @author MangoDai
 * @decription 实体类
 * @date 2017/12/20
 **/
public class Account implements Serializable{
    private String id;
    private String username;
    private String password;
    private String gender;
    private String classes;
    private String school;

    /**
     * 消息保留的时间
     */
    private int saveTime = 1;

    public Account() {
    }

    public Account(String id, String username, String gender, String school, String classes, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.classes = classes;
        this.school = school;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(int saveTime) {
        this.saveTime = saveTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }
}
